<?php
$eventConfig = new EventConfig();
$eventBase = new EventBase($eventConfig);

$timer = new Event( $eventBase, -1, Event::TIMEOUT | Event::PERSIST, function(){
    echo microtime( true )." : 歼15，滑跃，起飞！".PHP_EOL;
} );

$tick = 0.05;
$timer->add($tick);
$eventBase->loop();